<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
	
<div class="col-xs-12">	
	<form:form commandName="onLineFilter" cssClass="form-horizontal" >
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="startDate">开始时间</label>
			<div class="col-sm-4">
				<input type="text" name="startDate" id="startDate" placeholder="开始时间"
					   autocomplete="off" class="form-control date-picker" >
			</div>
			<label class="col-sm-2 control-label no-padding-right" for="endDate">结束时间</label>
			<div class="col-sm-4">
				<input type="text" name="endDate" id="endDate" placeholder="结束时间"
					   autocomplete="off" class="form-control date-picker" >
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="role">角色:</label>
            <div class="col-sm-4">
                <select name="role" id="role" class="form-control">
                    <option value="">--请选择--</option>
                    <option value="1">副县长</option>
                    <option value="2">经办人</option>
                    <option value="3">责任人</option>
                    <option value="4">领导</option>
                </select>
            </div>
            <label class="col-sm-2 control-label no-padding-right" for="branch">单位:</label>
            <div class="col-sm-4">
                <input type="text" name="branch" id="branch" placeholder="单位"
                       class="form-control ">
            </div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="branchType">用户类别:</label>
			<div class="col-sm-4">
				<select name="branchType" id="branchType" class="form-control">
					<option value="">--请选择--</option>
					<option value="0">业主单位</option>
					<option value="1">审批单位</option>
					<option value="4">督查组</option>
				</select>
			</div>
			<label class="col-sm-2 control-label no-padding-right" for="name">姓名:</label>
			<div class="col-sm-4">
				<input type="text" name="name" id="name" placeholder="姓名"
					   class="form-control ">
			</div>
		</div>
	</form:form>
</div>
<script type="application/javascript">
	jQuery(function($) {
		$('.date-picker').datepicker({
			inline: true,
			format:"yyyy-mm-dd",
			autoclose: true,
			todayHighlight: true,
			language: 'cn'
		}).next().on(ace.click_event, function(){
			$(this).prev().focus();
		});
	});
</script>